/*
 * Any use, copying, modification, distribution and selling of this software
 * and its documentation for any purposes without SoftwareMind's written permission
 * is hereby prohibited
 *
 */
package pl.zmudzinski;

import org.contract4j5.contract.Contract;
import org.contract4j5.contract.Post;
import org.contract4j5.contract.Pre;

/**
 * TODO: Type description here!
 * <br>
 * <p/>
 * Creation date: 2009-11-22<br>
 *
 * @author Lukasz Zmudzinski <a href="http://www.softwaremind.pl">SoftwareMind</a>
 * @since 1.0
 */
@Contract
public class MathUtils {
  @Pre("d >= 0")
  @Post("$return >= 0")
  public double sqrt(double d) {
    System.out.println("I am inside sqrt !");
    return Math.sqrt(d);
  }
}
